package com.xiao.common.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.sql.Date;

@Data
public class UserDto implements Serializable {

    @NotBlank(message = "用户名不能为空")
    private String userId;
    @NotBlank(message = "密码不能为空")
    String password;
//    昵称
    private String userName;
//    头像
    private String headImage;
//  手机号
    private String cellPhone;
    //eMail
    private String eMail;
    //性别
    private int sex;
    //出生日期
    private String date;
}
